<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
<script type="text/javascript">
	var ws = new WebSocket('ws://10.0.11.10:8099/ws/foobar?subscribe-broadcast&publish-broadcast&echo');
		ws.onopen = function() {
		    console.log("websocket connected");
		};
		ws.onmessage = function(e) {
		    console.log("Received: " + e.data);
		};
		ws.onerror = function(e) {
		    console.error(e);
		};
		ws.onclose = function(e) {
		    console.log("connection closed");
		}
		function send_message(msg) {
		    ws.send(msg);
		}
	
</script>
</head>
<body>
	<p>world</p>
</body>
</html>